Skip to content

Cut off board/port name when greater than 50 #3185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 20, 2015
Merged

Cut off board/port name when greater than 50 #3185

merged 2 commits into from
May 20, 2015

Conversation

ffissore
Copy link
Contributor

Fixes #3104

Please try the IDE resulting from this PR and express your (dis)agreement for

  1. the current behaviour, which truncates board/port names in order to avoid looooong names
  2. the proposed behaviour, which doesn't truncate at all, even if that may lead to very long names
    /cc @damellis

@ffissore ffissore self-assigned this May 19, 2015
Added support for .hh and .hpp libraries
@PaulStoffregen
Copy link
Contributor

I believe allowing unlimited length is unwise. A very long string really mess up the menu.

My original decision to limit to 16 chars was conservative. 16 seemed like a lot more than zero. Since this patch was "unofficial" for years, I didn't want to dramatically alter the menu size & appearance.

Let's keep the limit, but raise it to something large, like 25 or 30 or even 40 chars.

@ffissore
Copy link
Contributor Author

Agree. Let's turn it to a round 50

@ffissore ffissore changed the title Don't cut off board/port name Cut off board/port name when greater than 50 May 19, 2015
@PaulStoffregen
Copy link
Contributor

50 seems like as good a limit as any. If we later do run into GUI problems, the limit can always be adjusted.

ffissore added a commit that referenced this pull request May 20, 2015
Cut off board/port name when greater than 50
@ffissore ffissore merged commit 281fc68 into arduino:master May 20, 2015
@ffissore ffissore deleted the board-port-cut-off branch May 20, 2015 09:34
@ffissore ffissore added this to the Release 1.6.5 milestone May 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Board and port names are cut off in the Tools menu.
3 participants